import { postAxios, getAxios } from '@/lib/http';
export const chartApi = {
// 获取业务指标
  getBusinessIndicators: (data) => {
    return getAxios('role/getAll');
  },
  // 获取拆解及不良数
  getBadTrends: (data) => {
    return getAxios('role/getAll');
  },
  // 电芯型号占比
  getElectricRatios: (data) => {
    return getAxios('role/getAll');
  },
  // 电芯缺陷分类趋势图
  getElectricTrends: (data) => {
    return getAxios('role/getAll');
  },
  // 电芯缺陷类型Top5
  getDefectTOPs: (data) => {
    return getAxios('role/getAll');
  }
};
